package com.study.demo.gsbean.demo4;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @author: elvin
 * @time: 2019-01-23 10:01
 * @desc:
 **/
public class TestMethodReplacer implements MethodReplacer {

	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println("我替换了原来的方法");
		return null;
	}
}
